<ion-view title="我的信息">
  <div class="tabs-striped tabs-top tabs-background-statle tabs-color-positive">
    <ion-content>
      <label class="item item-input item-select">
        <div class="input-label">
          起始年份
        </div>
        <select ng-model="mineEvaluateCtrl.fromyear">
          <option ng-repeat="item in mineEvaluateCtrl.years" ng-value="item">{{item}}</option>
        </select>
      </label>
      <label class="item item-input item-select">
        <div class="input-label">
          起始月份
        </div>
        <select ng-model="mineEvaluateCtrl.frommonth">
          <option ng-repeat="item in mineEvaluateCtrl.months" ng-value="item">{{item}}</option>
        </select>
      </label>
      <label class="item item-input item-select">
        <div class="input-label">
          截止年份
        </div>
        <select ng-model="mineEvaluateCtrl.toyear">
          <option ng-repeat="item in mineEvaluateCtrl.years" ng-value="item">{{item}}</option>
        </select>
      </label>
      <label class="item item-input item-select">
        <div class="input-label">
          截止月份
        </div>
        <select ng-model="mineEvaluateCtrl.tomonth">
          <option ng-repeat="item in mineEvaluateCtrl.months" ng-value="item">{{item}}</option>
        </select>
      </label>
      <label class="item">
        <button type="button" class="button button-positive button-full" ng-click="mineEvaluateCtrl.doRefresh()">查询</button>
      </label>
      <div class="list" ng-show="mineEvaluateCtrl.eva">
        <div class="item" ng-repeat="item in mineEvaluateCtrl.leaves track by item.name">
          <span class="left">
            {{item.name}}
          </span>
          <span class="right">
            {{item.time}}小时
          </span>
        </div>
        <div class="item">
          <span class="left">
            外出
          </span>
          <span class="right">
            {{mineEvaluateCtrl.eva.outHour}}小时
          </span>
        </div>
        <div class="item">
          <span class="left">
            旷工
          </span>
          <span class="right">
            {{mineEvaluateCtrl.eva.absentHour}}小时
          </span>
        </div>
        <div class="item">
          <span class="left">
            加班
          </span>
          <span class="right">
            {{mineEvaluateCtrl.eva.overHour}}小时
          </span>
        </div>
      </div>
    </ion-content>
  </ion-view>
